import request from '@/utils/request'

// 查询进出仓数据列表
export function listBiInOutWarehouse(query) {
  return request({
    url: '/financial/BiInOutWarehouse/list',
    method: 'get',
    params: query
  })
}

// 查询进出仓数据详细
export function getBiInOutWarehouse(id) {
  return request({
    url: '/financial/BiInOutWarehouse/' + id,
    method: 'get'
  })
}

// 新增进出仓数据
export function addBiInOutWarehouse(data) {
  return request({
    url: '/financial/BiInOutWarehouse',
    method: 'post',
    data: data
  })
}

// 修改进出仓数据
export function updateBiInOutWarehouse(data) {
  return request({
    url: '/financial/BiInOutWarehouse',
    method: 'put',
    data: data
  })
}

// 删除进出仓数据
export function delBiInOutWarehouse(id) {
  return request({
    url: '/financial/BiInOutWarehouse/' + id,
    method: 'delete'
  })
}
